
const Router = require('koa-router');
const router = new Router();
const myDB = require("../myDB/mydb").db

console.log(myDB)

router.post('/xianshi_setting', (ctx, next) => {
    var data = ctx.request.body.item
    console.log(data)
    ctx.body = "显示设置"
});

router.post('/create_user', (ctx, next) => {
    var data = ctx.request.body
    console.log(data)
    ctx.body = "创建用户"
});
exports.router = router